﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/// <summary>
/// ECS划分组件类型基类
/// </summary>
    public abstract class ECSCompoentTypeBase
{
    /// <summary>
    /// 返回组件类型数量
    /// </summary>
    /// <returns></returns>
    public abstract Int16 Count();
    /// <summary>
    /// 不同的类型名返回不同的组件下标索引
    /// </summary>
    /// <param name="name"></param>
    /// <returns></returns>
    public abstract Int16 GetCompoentIndex(string name);

}

